//
//  DetailBottomTool.h
//  LvXi_newVersion
//
//  Created by 王敏 on 16/8/16.
//  Copyright © 2016年 SJT. All rights reserved.
//

#import <UIKit/UIKit.h>
@class DetailBottomTool;
@protocol DetailBottomToolDelegate <NSObject>

-(void)DetailBottomTool:(DetailBottomTool*)tool didClickAddToShopCartButton:(UIButton*)button;

-(void)DetailBottomTool:(DetailBottomTool*)tool didClickShopCartButton:(UIButton*)button;
@end

@interface DetailBottomTool : UIView
/**添加到购物车*/
@property(nonatomic,strong)UIButton * addToShopCart ;

/**邀请好友砍价*/
@property(nonatomic,strong)UIButton * countDown ;

/**关注*/
@property(nonatomic,strong)UIButton * focus ;

/**购物车*/
@property(nonatomic,strong)UIButton * shopCart ;

/**购物车数量label*/
@property(nonatomic,strong)UILabel * countLabel;

/***/
@property(nonatomic,strong)Product * product;

/**购物车数量*/
@property(nonatomic,assign)NSInteger count;

/**代理*/
@property(nonatomic,assign)id<DetailBottomToolDelegate>delegate;

-(void)addAnimation;
@end
